import  {xsEntity} from './commentity';
import { Column ,Entity} from 'typeorm';

/**
 * 描述
 */
@Entity()
export class StudentsEntity extends xsEntity {
  @Column({ comment: '描述' })
  title: string;
  @Column({ comment: '描述' })
  name: string;
  @Column({ comment: '' })
  content: string;
  @Column({ comment: '分类' , default:null })
  class: string;
  @Column({ comment: '图片' })
  url: string;

}
